test: rand.cmo gmp.cma testrand.ml
	ocamlc -o test gmp.cma rand.cmo testrand.ml

rand.cmo: rand.ml gmp.cmi
	ocamlc -c rand.ml

gmp.cmi: gmp.mli
	ocamlc -c gmp.mli

clean: 
	-rm -f *.cmi *.cmo test 
